package com.mce.nebula.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 用户创建请求DTO
 */
@Data
public class UserCreateRequest {
    
    @NotBlank(message = "用户名不能为空")
    private String nickName;
    
    @Email(message = "邮箱格式不正确")
    @NotBlank(message = "邮箱不能为空")
    private String email;
    
    @NotBlank(message = "密码不能为空")
    private String password;
    
    private String realName;
    
    private String phone;
    
    private String enterpriseId;
    
    private Boolean sysAdmin = false;
}





